<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>hex2dec</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>hex2dec</b> -    conversion from hexadecimal representation to integers</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>d=hex2dec(h)  </tt>
      </dd>
      <dd>
        <tt>d=oct2dec(o)  </tt>
      </dd>
      <dd>
        <tt>d=base2dec(s,b)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>d</b>
        </tt>: matrix of  integers</li>
      <li>
        <tt>
          <b>h</b>
        </tt>: matrix of character strings corresponding to hexadecimal representation</li>
      <li>
        <tt>
          <b>o</b>
        </tt>: matrix of character strings corresponding to octal representation</li>
      <li>
        <tt>
          <b>s</b>
        </tt>: matrix of character strings corresponding to base b representation</li>
      <li>
        <tt>
          <b>b</b>
        </tt>: integer, the base</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>hex2dec(x)</b>
      </tt> returns the  matrix of numbers corresponding to the
    hexadecimal representation.</p>
    <p>
      <tt>
        <b>oct2dec(x)</b>
      </tt> returns the  matrix of numbers corresponding to the
    octal representation.</p>
    <p>
      <tt>
        <b>base2dec(x,b)</b>
      </tt> returns the  matrix of numbers corresponding to the
    base <tt>
        <b>b</b>
      </tt> representation.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

hex2dec(['ABC','0','A'])
 
  </pre>
  </body>
</html>
